window: Add individual CSS classes based on edge constraints
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 18 Aug 2017 23:12:23 +0000 (20:12 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 18 Sep 2017 02:16:48 +0000 (23:16 -0300)
commitb1c4e9afef5144b3c55a7be22b01c38cdf0088a7
tree04b4943e81e6f1b3ec8556b0d92ef695ffad1a55
parent03204f8cdb8f29cc67c27467d2356e07d66f1ba5
window: Add individual CSS classes based on edge constraints

The last touch on this patch series is making GtkWindow able to
selectively adjust various UI details based on the different
tiled edges. The main driver here is that we don't want to show
shadows on edges that are constrained.

This patch adds the necessary code to do that, while still
maintaining compatibility with the old ways.

https://bugzilla.gnome.org/show_bug.cgi?id=783669
gtk/gtkwindow.c
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css